function combine<Type>(arr1: Type[], arr2: Type[]):Type[]{
  return arr1.concat(arr2)
}
const arr3 = combine<number | string>([1,2,3],['string'])

console.log(arr3);
